package com.example.hospitalsystem.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value="doctor")
public class Doctor implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 医生编号
     */
    @TableId(value = "doctor_id", type = IdType.AUTO)
    private Integer doctorId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 医生姓名
     */
    @TableField("doctor_name")
    private String doctorName;

    /**
     * 医生职称
     */
    @TableField("doctor_title")
    private String doctorTitle;

    /**
     * 医生照片
     */
    @TableField("doctor_photo")
    private String doctorPhoto;

    /**
     * 医生简介
     */
    @TableField("doctor_introduction")
    private String doctorIntroduction;

    /**
     * 医生所属科室
     */
    @TableField("department_name")
    private String departmentName;

    /**
     * 医生所属科室类型
     */
    @TableField("department_kind")
    private String departmentKind;

    /**
     * 医生联系方式
     */
    @TableField("contact")
    private String contact;
}
